package java_thinking.unit_14._14_9.DemoElement;

public class SecretMaker {
    public static A makeSecret() { return new Secret();  }
}

class Secret implements A {
    @Override
    public void e() {
        System.out.println("public Secret.e()");
    }
    void f() { System.out.println("package Secret.f()"); }
    protected void g() { System.out.println("protected Secret.g()"); }
    private void h() { System.out.println("private Secret.h()"); }

}